package com.wing.home.service;

import com.wing.home.entity.*;

import java.util.List;
import java.util.Map;

/**
 * 主页
 *
 * @author xiayang
 */
public interface HomeService {

    /**
     * 采购趋势-按数量统计
     *
     * @param params
     * @return
     */
    List<PurchaseTrendNumber> purchaseTrendNumTotal(Map<String, Object> params);

    /**
     * 采购趋势-按金额统计
     *
     * @param params
     * @return
     */
    List<PurchaseTrendAmount> purchaseTrendAmountTotal(Map<String, Object> params);

    /**
     * 仓库统计
     *
     * @param params
     * @return
     */
    WarehouseTotal warehouseTotal(Map<String, Object> params);

    /**
     * 库存出入库统计
     *
     * @param params
     * @return
     */
    List<InventoryInOutNum> inventoryInOutTotal(Map<String, Object> params);

    /**
     * 出入库物料排行
     *
     * @param params
     * @return
     */
    List<InOutStorageMaterialTop> inOutStorageMaterialTop(Map<String, Object> params);

    /**
     * 出入库类型排行
     *
     * @param params
     * @return
     */
    List<InOutStorageTypeTop> inOutStorageTypeTop(Map<String, Object> params);

    /**
     * 物料类别统计
     *
     * @param params
     * @return
     */
    List<ProductTypeTotal> productTypeTotal(Map<String, Object> params);

    /**
     * 仓库类型统计
     *
     * @param params
     * @return
     */
    List<WarehouseTypeTotal> warehouseTypeTotal(Map<String, Object> params);
}
